package com.mer.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mer.entity.CourseReview;
import com.mer.vo.CourseReviewVo;
import org.apache.ibatis.annotations.Param;

/**
 * @program: IIPhase-project
 * @description: 课程审核Mapper层
 * @author: 陈铠
 * @create: 2021-10-21 14:40
 **/
public interface CourseReviewMapper extends BaseMapper<CourseReview> {
    Page<CourseReviewVo> selectTobeReviewedCourse(@Param("page") Page<CourseReviewVo> page, @Param("ew") QueryWrapper ew);

    int modifyCourseCheck(CourseReviewVo courseReviewVo);
}
